// 这里放置全局的变量
const isDev = __LOCAL__;
const urlPrefix = isDev ? '/mock/' : '/';
//正式地址
const apiUrlPrefixProd = 'http://111.47.65.236:8848/';
//测试地址
// const apiUrlPrefixProd = 'http://192.168.0.107:8081/';
const cyrydpHost = 'https://www.sskj-hengyun.com/cyrydp/#/realName';
// 智慧工地大屏
const zhgdDpUrl = 'https://www.sskj-hengyun.com/jkdp/#/';
const elasticSearchServer = 'http://111.47.65.236:7777/';
const geoApiUrlPrefix = 'http://restapi.amap.com/v3/geocode/';
const spjkServer = 'http://120.202.69.160:6713/mag/hls/';
const CameraServer = 'http://120.202.69.160:8888/openapi/ckplayer/index.html?id=';
const AmapUserKey = '1dd08ec0fffc99b1d5cd5cfa0224a924';
const IMAGE_URL_PREFIX = 'https://www.sskj-hengyun.com/images';

export default {
  apiUrlPrefixProd,
  cyrydpHost,
  zhgdDpUrl,
  urlPrefix,
  geoApiUrlPrefix,
  isDev,
  spjkServer,
  CameraServer,
  AmapUserKey,
  IMAGE_URL_PREFIX,
  elasticSearchServer,
  // 这里放置全局的调用的URL
  URLS: {
    cmisServer: apiUrlPrefixProd + 'generic/web/viewer.html?file=',
    htWd: apiUrlPrefixProd + 'sskj/ht/htwd',
    zbwj: apiUrlPrefixProd + 'sskj/zb/zbwj',
    zbtzs: apiUrlPrefixProd + 'sskj/zb/zbtzs',
    zpxx: apiUrlPrefixProd + 'sskj/emp/zpxx',
    sgxkzs: apiUrlPrefixProd + 'sskj/sgxk/sgxkzs',
  },
};
